package com.yx.test3d.model;

import android.content.Context;

import com.yx.test3d.bean.Area3D;
import com.yx.test3d.program.ImageProgram;

import java.util.ArrayList;
import java.util.List;

public class AreaModel extends Model<Area3D> {

    private Area3D area3d;
    private int[] vao;
    private int[] vbo;
    private int textureId;

    public AreaModel(Area3D area3d){
        setData(area3d);
    }

    public Area3D getData() {
        return area3d;
    }

    @Override
    public void clear() {
        super.clear();
    }

    public Area3D getArea3d() {
        return area3d;
    }

    public void setData(Area3D area3d) {
        this.area3d = area3d;
    }

    public int[] getVao() {
        return vao;
    }

    public void setVao(int[] vao) {
        this.vao = vao;
    }

    public int[] getVbo() {
        return vbo;
    }

    public void setVbo(int[] vbo) {
        this.vbo = vbo;
    }

    public int getTextureId() {
        return textureId;
    }

    public void setTextureId(int textureId) {
        this.textureId = textureId;
    }
}
